import request from '@/utils/request'


//智能物联设备感知
export function getLargeScreenStatistics(params) {
  return request({
    url: '/home/oneMap/getLargeScreenStatistics',
    method: 'get',
    params
  })
}
//部门终端统计
export function getDeptNetworkStatistics(params) {
  return request({
    url: '/home/oneMap/getDeptNetworkStatistics',
    method: 'get',
    params
  })
}
//查询能耗终端列表
export function networksList(params) {
  return request({
    url: '/device/networks/list',
    method: 'get',
    params
  })
}
// 查询设备档案列表
export function archiveList(params) {
  return request({
    url: '/device/archive/list',
    method: 'get',
    params
  })
}

// 用能单位统计详情
export function getDeptStatisticsDetail(params) {
  return request({
    url: '/home/oneMap/getDeptStatisticsDetail',
    method: 'get',
    params
  })
}
// 能耗终端统计详情
export function getNetworkStatisticsDetail(params) {
  return request({
    url: '/home/oneMap/getNetworkStatisticsDetail',
    method: 'get',
    params
  })
}
// 最近一个月额度评估部门列表
export function getLastMonthDeptQuota(params) {
  return request({
    url: '/home/oneMap/getLastMonthDeptQuota',
    method: 'get',
    params
  })
}
export function getEnergyByDept(query) {
  return request({
    url: `/screen/digital/getEnergyByDept`,
    method: 'get',
    params: query
  })
}
